package com.smartum.mpr.model;

import java.util.Comparator;

public class UploadedImageComment extends Comment {

	private static final long serialVersionUID = 1L;

	public static Comparator<UploadedImageComment> ascendingUploadedImageComparator = new Comparator<UploadedImageComment>() {

		@Override
		public int compare(UploadedImageComment o1, UploadedImageComment o2) {
			return o1.getId().compareTo(o2.getId());
		}
	};

	public static Comparator<UploadedImageComment> descendingUploadedImageComparator = new Comparator<UploadedImageComment>() {

		@Override
		public int compare(UploadedImageComment o1, UploadedImageComment o2) {
			return o2.getId().compareTo(o1.getId());
		}
	};

}
